<script setup>
const props = defineProps(['optionKey', 'optionSource'])
</script>

<template>
<el-option
  v-for="item in props.optionSource"
  :value="item[props.optionKey]"
/>
</template>

<style scoped>

</style>